﻿namespace Demo.Identity.Dto;

/// <summary>
/// 登录响应实体
/// </summary>
/// <param name="AccessToken">访问令牌</param>
/// <param name="RefreshToken">刷新令牌</param>
/// <param name="ExpireInSeconds">有效期(秒)</param>
/// <param name="HasError">是否异常</param>
/// <param name="Message">异常消息</param>
public record LoginResponse(
    string AccessToken = "",
    string RefreshToken = "",
    int ExpireInSeconds = 0,
    bool HasError = false,
    string Message = ""
);